package com.sanjiahantang.youjiaclient.module.cases.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;

/**
 * Created by zy on 2017/10/20.
 */

public class DesignerBean extends BaseBean {
    /*
    \"address\": \"天津市\",
    \"orderNumber\": 0,
    \"roleId\": \"15620560524\",
    \"toDay\": 9,
    \"userName\": \"刘备\"

    {
    \"address\": \"天津市\",
    \"orderNumber\": 0,
    \"roleId\": \"15620560524\",
    \"toDay\": 0,
    \"sysPoints\": 4.5,
    \"userName\": \"刘备\",
    \"url\": \"upload/2017/10/20\\\\13516299287.png\"
}
    * */
    private String data;

    public Data getData() {
        return new Gson().fromJson(data,Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data{
        private String address;
        private int orderNumber;
        private String roleId;
        private int toDay;
        private double sysPoints;
        private String userName;
        private String url;
        private int number;

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getOrderNumber() {
            return orderNumber;
        }

        public void setOrderNumber(int orderNumber) {
            this.orderNumber = orderNumber;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public int getToDay() {
            return toDay;
        }

        public void setToDay(int toDay) {
            this.toDay = toDay;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public double getSysPoints() {
            return sysPoints;
        }

        public void setSysPoints(double sysPoints) {
            this.sysPoints = sysPoints;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
